package cn.book.org.mapper;

import cn.book.basic.mapper.BaseMapper;
import cn.book.org.domain.Employee;


import java.util.List;

/**
* @Description: mapper接口
* @Author: Mr.She
* @Version: 1.0
* @Date:  2022/6/21 19:00
*/
public interface EmployeeMapper extends BaseMapper<Employee> {

    // 根据部门ID查询员工
    List<Employee> findId(Long id);

    Employee loadByUserName(String username);
}
